<template>
  <div>
    <h1>欢迎━(*｀∀´*)ノ亻!使用员工管理系统</h1>
    <button @click="logout">退出</button>
    <bottom :isManage="false"></bottom>
  </div>
</template>

<script>
  import Bottom from '@/components/bottom.vue'
  export default {
    name: "index",
    components: {
      Bottom
    },
    methods: {
      logout() {
        this.$router.push('/login')
      }
    }
  }
</script>

<style scoped>
  button {
    padding: 10px;
    border: none;
    background: mediumseagreen;
    border-radius: 20%;
    color: white;
    margin-top: 100px;
  }

</style>
